package com.treeHole.treeHoleServer.pojo.RequestDataDTO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 用于发布、删除帖子的请求
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PostDeletePostDTO {

    private Integer userId;

    //发布请求特有数据
    private String title;
    private String content;
    private List<String> pics;
    private Integer tag;

    //删除请求特有数据
    private Integer postId;
}
